package com.dk.controller;


import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
public class TestController {

    @PostMapping("/test1")
    public Map test(){
        Map<String,Object> map=new HashMap<>();
        map.put("test",123);
        return map;
    }

    @PostMapping("/test2")
    public Map test2(){
        Map<String,Object> map=new HashMap<>();
        map.put("test",123);
        return map;
    }

    @PostMapping("/test3")
    public Map test3(){
        Map<String,Object> map=new HashMap<>();
        map.put("test",123);
        return map;
    }

    @PostMapping("/test4")
    public Map test4(){
        Map<String,Object> map=new HashMap<>();
        map.put("test",123);
        return map;
    }
}
